<?php

$link = @mysql_connect($_POST['server'], $_POST['username'], $_POST['password']);
if (!$link)
{
	die('<font color="red">Failed</font>');
}
echo '<font color="green">Success</font>';

?>